home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / tetris3.doc < prev    next >
Text File  |  1995-03-31  |  6KB  |  95 lines

  1. (Comp.sys.handhelds) Option:  
  2. Item: 2556 by _falco at hpcvbbs.UUCP 
  3. Author: [Andrey Dolgachev] 
  4.   Subj: Tetris3 for the HP48sx 
  5.   Date: Sat Mar 30 1991 
  6.  
  7. [Note: See TETRIS.DOC to see why there are three Tetri on this disk. -jkh-] 
  8.  
  9. Here we go again, here's the next version of Tetris, and it is a 
  10. significant enough upgrade to warrant the Tetris 3.0 label.  First of 
  11. all, the new features and revisions.  In addition to the minor bug fixes 
  12. and such, I made the game more like the computer version. 
  13.  
  14.      1)  Levels!  There are now 10 levels, 0 through 9.  I used the same 
  15. delay function, so the end result is the same.  However, instead of the 
  16. speed just increasing continuosly, there is a speed increase every time 
  17. you reach the next level.  After a certain amount of time, you go up a 
  18. level, just like the real Tetris.  Also, you can specify which level you 
  19. want to start with (discussed later), and you can go up a level while 
  20. playing by pressing K (the up arrow). 
  21.      2)  Real scoring.  The scoring is now just like the real computer 
  22. version of Tetris by Spectrum Holobyte.  You only get points for pieces 
  23. dropped, not lines.  You get more points for higher levels and for 
  24. dropping the pieces higher.  Also, turning on the Draw Next Piece 
  25. function takes off points (3/4). 
  26.      3)  Customization.  There is a program called CONFIG which makes it 
  27. easier for the user to customize some features of Tetris.  You can 
  28. specify what kind of Dissolve sequences you want for each of the three 
  29. times that a screen dissolve takes place.  CONFIG gives the codes for the 
  30. dissolve sequences by the way.  Simply experiment with the different 
  31. codes to see what it does.  The three phase where screen dissolves take 
  32. place are the beginning, the high score drawing, and the return to the 
  33. stack (1,2,3).  You can also specify if you want your score, lines, and 
  34. level left on the stack as labeled numbers.  You also use this program to 
  35. specify your starting level and to erase your high scores (which can also 
  36. be done with the Erase command in the second row).  The default values 
  37. are built-in, so if you don't want to change something, just type return 
  38. to go on to the next screen.  It will be evident when you use it.  All 
  39. this program does is provide a user-friendly way of changing the 
  40. paramater list, DLST.  DLST contains five numbers.  The first three have 
  41. tags, and indicate the dissolve types for each phase, the fourth 
  42. indicates whether you want your score left on the stack (0 is no, 1 is 
  43. yes) and the fifth is a number from 0 to 9 indicating your starting 
  44. level.   
  45.      4)  Misc. Revisions.  The pieces now appear one square higher, and 
  46. the board "fills" up one square higher.  This is the maximum space you 
  47. can have, unless I go back and really change (read as slow down) the XFIG 
  48. and TFIG routines.  Two more squares of room is nice though.  When you 
  49. drop your piece, it immediately appears at the bottom, just like the real 
  50. Tetris.  The draw next piece has been revised.  It is now at the right 
  51. side of the screen, and the piece that appears in the Next Piece window 
  52. is in the same rotational position as the one which drops.  I also 
  53. changed the order of the rotations of the pieces to match the real Tetris 
  54. game.  The Pausing function now only saves part of the GROB, instead of 
  55. the whole screen, so it can be used with less memory. 
  56.      5)  Flags and stuff.  All the subprograms now use the subprogram 
  57. PREP to s, unstripped form, I actually organized them to make it easier 
  58. to understand.  The first line of the VAR menu contains the six functions 
  59. you use to do everything.  Then, you have the ERASE and DLST commands 
  60. which are used by CONFIG and which you can use if you know how (allowing 
  61. you to erase CONFIG if you don't need it).  Then, the next two programs 
  62. are the ones that you can modify to suit your needs if you wanta risk it. 
  63.  RK2 contains the different key commands.  Change this if you want a 
  64. different key layout.  PREP is the subprogram which allows TETRIS to run 
  65. fine.  Then, the three variables holding your score things.  Then the 
  66. four ML and GROBS which you should ASC if you do TEXT transfer.  That 
  67. finishes out the third row.  The fourth row contians the essential TETRIS 
  68. functions, the fifth row contains more essential functions and variables. 
  69.  The sixth row contains the functions and variables essential to the 
  70. Drawing of the next piece.  It also has the variables L and SAV used in 
  71. pausing the program.  The seventh row contains the functions and 
  72. variables used for the levels.  The eighth row contains the graphics 
  73. routines for setting up the screen.  And the ninth row contains the 
  74. finsih routine and the drawing of the high scores stuff.  The 54 
  75. variables and subprograms account for the fact that Tetris now takes up a 
  76. little over 8k. 
  77. O.K. I think that's it.  I also fixed any bugs which were recently posted 
  78. which there were only a few of. 
  79.  
  80. Now for the credits.  Credit goes to Erik Bryntse for the original Tetris 
  81. with partial machine code routines, and Joe Ervin for the Screen Dissolve 
  82. code.  Also, thanks to everybody who posted bugs and revisions ideas.   
  83.  
  84. And of course, I give no guarantees or warranties and I am not liable if 
  85. this game makes you go crazy or blows up your 512k RAM card. 
  86.  
  87. Now for the instructions.  Download the following, and transfer it to 
  88. your calculator.  Then, make sure that ASC-> is in the same or a higher 
  89. level as Tetris3.  Then press SETUP in the Tetris3 directory to ASC-> the 
  90. 5 MC and GROB's.  If you don't know what ASC-> is, read my next message.  
  91. Press HELP if you need it.  It's not a very complicated game or anything 
  92. though.  Some general things though on the game.  When you press O, the 
  93. HP turns off, when you turn it on, the game continues.  When you press P, 
  94. the game suspendace. 
  95.